package com.ourcraft.informationcollectionsystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.util.Date;

@Data
public class DataReportFormDetail {
    private Integer formId;
    private Integer formStartTotalNum;
    private Integer formEndTotalNum;
    private String formDecreaseType;
    private String formFirstReason;
    private String formSecondReason;
    private String formThirdReason;
    private String formReasonDescription;
    private Integer formExamineStatus;
    private String investigationTitle;
    private String companyChineseName;
    private String companyCity;
    @TableField(value = "history_date", jdbcType = JdbcType.TIMESTAMP)
    private Date lastSubmitDate;

    @Override
    public String toString() {
        return  "DataReportFormDetail{" +
                "formId=" + formId +
                ", formStartTotalNum=" + formStartTotalNum +
                ", formEndTotalNum=" + formEndTotalNum +
                ", formDecreaseType='" + formDecreaseType +
                ", formFirstReason='" + formFirstReason +
                ", formSecondReason='" + formSecondReason +
                ", formThirdReason='" + formThirdReason +
                ", formReasonDescription='" + formReasonDescription +
                ", formExamineStatus='" + formExamineStatus +
                ", companyChineseName='" + companyChineseName +
                ", companyCity='" + companyCity +
                ", investigationTitle='" + investigationTitle +
                ", lastSubmitDate='" + lastSubmitDate +
                '}';
    }
}
